package com.lemon.soft.bookingroom.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.lemon.soft.bookingroom.entity.RoomTimeStatusEntity;
import com.lemon.soft.bookingroom.util.PageUtils;
import com.lemon.soft.bookingroom.util.R;
import com.lemon.soft.bookingroom.vo.updateRoomStatusVo;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 
 *
 * @author ${author}
 * @email ${email}
 * @date 2025-05-29 12:38:52
 */
public interface RoomTimeStatusService extends IService<RoomTimeStatusEntity> {

    R queryPage();
    /**
     * 检查会议室是否可用
     */
    Boolean isRoomAvailable(Integer roomId, LocalDateTime startTime, LocalDateTime endTime);
    /**
     * 更新会议室使用状态
     */
    String updateRoomStatus(updateRoomStatusVo vo);
}

